package com.portal.service;

import com.portal.model.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.portal.model.vo.LoginRequest;
import com.portal.model.vo.UserVo;
import org.springframework.http.ResponseEntity;

/**
* @author 61073
* @description 针对表【t_user】的数据库操作Service
* @createDate 2025-10-09 15:33:07
*/
public interface UserService extends IService<User> {

    /**
     * 用户登录
     */
    ResponseEntity<?> login(LoginRequest param);

    UserVo findById(String userId);

    /**
     * 注册唯一性校验
     */
    long registCheck(String columnName,String columnValue);
}
